package com.zzs.restweb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zzs.restweb.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zzs
 * @since 2020-06-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("user")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 性别(0:男  1:女   2:未知)
     */
    @TableField("sex")
    private Integer sex;

    /**
     * note
     */
    @TableField("node")
    private String node;


}
